TapTree\WooCommerce\Gateway\TapTreePaymentGateway C

Total Complexity 114
Dependencies 12
Dependents 4
Total lines 948
Lines of code 582
Logical lines of code 303
Comment lines 125
Methods 37
Properties 8

Methods 37

Method Rating Maintainability Complexity Lines of code
initModal()
A
43 8 48
getInstructions()
A
49 9 33
process_refund()
A
43 8 47
__construct()
A
42 7 50
updateImpactIfTotalsChanged()
A
53 8 22
displayInstructions()
S
48 6 38
processPaymentFromPayForOrder()
S
44 5 46
asciiDomainName()
S
57 7 15
getCartTotal()
S
54 6 21
process_payment()
S
48 5 34
idnEncodeDomain()
S
56 5 21
isOrderPaid()
S
58 4 16
thankyou_page()
S
59 3 15
getImpact()
S
68 3 7
getOrderRedirectUrl()
S
59 2 15
set_payment_description()
S
69 2 7
getImpactTitle()
S
67 2 7
action_cart_calculate_totals()
S
69 2 7
isPaidByOtherGateway()
S
74 2 4
get_icon()
S
74 2 4
getReturnUrl()
S
59 1 15
unsetActiveTapTreePayment()
S
66 2 9
getWebhookUrl()
S
59 1 14
orderDoesNotExistFailure()
S
61 1 14
appendOrderArgumentsToUrl()
S
64 1 11
isOrderPaidWithTapTree()
S
79 1 3
init_form_fields()
S
80 1 3
getActiveTapTreePaymentId()
S
75 1 4
setPaymentMethodIcon()
S
69 1 7
saveTapTreeInfo()
S
70 1 6
reportPaymentIntentCreateSucceeded()
S
63 1 10
handleOrderPayPage()
S
82 1 3
setOrderPaidWithTapTree()
S
76 1 4
setImpactTitle()
S
77 1 4
setCancelledTapTreePaymentId()
S
70 1 6
isTapTreeAvailable()
S
72 1 5
reportPaymentIntentCreateFailed()
S
67 1 7